﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using TrainingManagerSystem.WebUI.TrainingManagerSystemService;

namespace TrainingManagerSystem.WebUI.Models
{
    public class CourseInstructorManager
    {
        private TrainingManagerSystemModelClient _trainingManagerSystemModelClient;

        public List<CourseInstructor> FetchAllByInstructorId(string instructorId)
        {
            _trainingManagerSystemModelClient = new TrainingManagerSystemModelClient();
            return _trainingManagerSystemModelClient.FetchAllByInstructorId(instructorId).ToList();
        }

    }
}